Optimal. Leaf size=66 \[ \frac {a (A b-a B)}{4 b^3 \left (a+b x^2\right )^2}-\frac {A b-2 a B}{2 b^3 \left (a+b x^2\right )}+\frac {B \log \left (a+b x^2\right )}{2 b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {457, 78}
\begin {gather*} -\frac {A b-2 a B}{2 b^3 \left (a+b x^2\right )}+\frac {a (A b-a B)}{4 b^3 \left (a+b x^2\right )^2}+\frac {B \log \left (a+b x^2\right )}{2 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 457
Rubi steps
\begin {align*} \int \frac {x^3 \left (A+B x^2\right )}{\left (a+b x^2\right )^3} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {x (A+B x)}{(a+b x)^3} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {a (-A b+a B)}{b^2 (a+b x)^3}+\frac {A b-2 a B}{b^2 (a+b x)^2}+\frac {B}{b^2 (a+b x)}\right ) \, dx,x,x^2\right )\\ &=\frac {a (A b-a B)}{4 b^3 \left (a+b x^2\right )^2}-\frac {A b-2 a B}{2 b^3 \left (a+b x^2\right )}+\frac {B \log \left (a+b x^2\right )}{2 b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 64, normalized size = 0.97 \begin {gather*} \frac {3 a^2 B-2 A b^2 x^2-a b \left (A-4 B x^2\right )+2 B \left (a+b x^2\right )^2 \log \left (a+b x^2\right )}{4 b^3 \left (a+b x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 61, normalized size = 0.92
method | result | size |
norman | \(\frac {-\frac {a \left (A b -3 B a \right )}{4 b^{3}}-\frac {\left (A b -2 B a \right ) x^{2}}{2 b^{2}}}{\left (b \,x^{2}+a \right )^{2}}+\frac {B \ln \left (b \,x^{2}+a \right )}{2 b^{3}}\) | \(57\) |
risch | \(\frac {-\frac {a \left (A b -3 B a \right )}{4 b^{3}}-\frac {\left (A b -2 B a \right ) x^{2}}{2 b^{2}}}{\left (b \,x^{2}+a \right )^{2}}+\frac {B \ln \left (b \,x^{2}+a \right )}{2 b^{3}}\) | \(57\) |
default | \(\frac {B \ln \left (b \,x^{2}+a \right )}{2 b^{3}}+\frac {a \left (A b -B a \right )}{4 b^{3} \left (b \,x^{2}+a \right )^{2}}-\frac {A b -2 B a}{2 b^{3} \left (b \,x^{2}+a \right )}\) | \(61\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 72, normalized size = 1.09 \begin {gather*} \frac {3 \, B a^{2} - A a b + 2 \, {\left (2 \, B a b - A b^{2}\right )} x^{2}}{4 \, {\left (b^{5} x^{4} + 2 \, a b^{4} x^{2} + a^{2} b^{3}\right )}} + \frac {B \log \left (b x^{2} + a\right )}{2 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.83, size = 89, normalized size = 1.35 \begin {gather*} \frac {3 \, B a^{2} - A a b + 2 \, {\left (2 \, B a b - A b^{2}\right )} x^{2} + 2 \, {\left (B b^{2} x^{4} + 2 \, B a b x^{2} + B a^{2}\right )} \log \left (b x^{2} + a\right )}{4 \, {\left (b^{5} x^{4} + 2 \, a b^{4} x^{2} + a^{2} b^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.49, size = 70, normalized size = 1.06 \begin {gather*} \frac {B \log {\left (a + b x^{2} \right )}}{2 b^{3}} + \frac {- A a b + 3 B a^{2} + x^{2} \left (- 2 A b^{2} + 4 B a b\right )}{4 a^{2} b^{3} + 8 a b^{4} x^{2} + 4 b^{5} x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.42, size = 61, normalized size = 0.92 \begin {gather*} \frac {B \log \left ({\left | b x^{2} + a \right |}\right )}{2 \, b^{3}} + \frac {2 \, {\left (2 \, B a - A b\right )} x^{2} + \frac {3 \, B a^{2} - A a b}{b}}{4 \, {\left (b x^{2} + a\right )}^{2} b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 70, normalized size = 1.06 \begin {gather*} \frac {\frac {3\,B\,a^2-A\,a\,b}{4\,b^3}-\frac {x^2\,\left (A\,b-2\,B\,a\right )}{2\,b^2}}{a^2+2\,a\,b\,x^2+b^2\,x^4}+\frac {B\,\ln \left (b\,x^2+a\right )}{2\,b^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________